<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">
</head>
<link href="/js/jquery.icheck/skins/square/blue.css" rel="stylesheet">
<style>
    .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .search, .fixed-table-toolbar .columns {
        margin-top: -70px;
    }
</style>
<body style="overflow: hidden;opacity: 1">

<div id="cl-wrapper" style="padding-top: 0">
    <div class="container-fluid">
        <div class="cl-mcont">
            <div class="row">
                <div class="col-md-12">
                    <div class="block-flat">
                        <form class="form-horizontal group-border-dashed" id="userListForm">
                            <input name="userIds" id="userIds" type="hidden"/>
                            <div class="form-group">
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="会员编号"
                                           id="account" name="account"/>
                                </div>
                                <div class="input-group">
                                    <select class="form-control" id="state" name="state">
                                        <option value="">账号状态</option>
                                        <option value="0">关闭</option>
                                        <option value="1">开启</option>
                                    </select>
                                </div>
                                <div class="input-group">
                                    <button class="btn btn-primary" type="button" id="search"><i
                                            class="fa fa-search"></i>查询
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-success btn-operation" type="button"
                                            onclick="updateWithdrawBankState(1)"
                                            id="openWithdrawBank"><i
                                            class="fa fa-plus-square-o"></i> 开启
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-fail btn-operation" type="button"
                                            onclick="updateWithdrawBankState(0)"
                                            id="closeWithdrawBank"><i
                                            class="fa fa-plus-square-o"></i> 关闭
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-warn btn-operation" type="button"
                                            onclick="addWithdrawBankModel()"
                                            id="addWithdrawBank"><i
                                            class="fa fa-plus-square-o"></i> 新增
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="block-flat">
                        <div class="content">
                            <div class="table-responsive">
                                <table data-classes="table table-hover table-condensed"
                                       id="dataTable"
                                       data-mobile-responsive="true"
                                       data-detail-formatter="detailFormatter">
                                </table>
                            </div>
                        </div>
                    </div>

                    <!--添加银行卡信息-->
                    <div class="modal fade" id="addWithdrawBankModel" tabindex="-1"
                         role="dialog"
                         aria-labelledby="addWithdrawBankModel">
                        <div class="modal-dialog" role="document" style="width:800px;">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal"
                                            aria-label="Close"><span
                                            aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="updateUserModalLabel">添加提现银行卡</h4>
                                </div>
                                <div class="modal-body" style="min-height:100px;">
                                    <form class="form-horizontal" role="form"
                                          id="addWithdrawBankForm">
                                        <input readonly class="form-control" type="hidden"
                                               id="bankId" name="id"/>
                                        <div class="form-group">
                                            <div class="col-sm-7" style="width: 240px">
                                                <input readonly class="form-control" type="text"
                                                       id="userAccount" name="account"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-7" style="width: 240px">
                                                <input class="form-control" type="text" placeholder="开户名称"
                                                       id="name" name="name"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-7" style="width: 240px">
                                                <input class="form-control" type="text" placeholder="银行卡号"
                                                       id="bankNo" name="bankNo"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-7" style="width: 240px">
                                                <input class="form-control" type="text" placeholder="银行名"
                                                       id="bankName" name="bankName"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-7" style="width: 240px">
                                                <select class="form-control" id="bankAccountType"
                                                        name="bankAccountType">
                                                    <option value="对私" selected="selected">对私</option>
                                                    <option value="对公">对公</option>
                                                </select>
                                            </div>
                                        </div>

                                    </form>
                                </div>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-default"
                                            data-dismiss="modal">取消
                                    </button>
                                    <button type="button" class="btn btn-primary"
                                            onclick="addWithdrawBank()">确定
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" th:attr="src=@{/js/jquery.form.js}"></script>
<script type="text/javascript" th:attr="src=@{/js/jquery.parser.js}"></script>
<script type="text/javascript" src="js/jquery.icheck/icheck.min.js"></script>
<script type="text/javascript"
        src="/js/pageJs/memberManage/userWithdrawBankList.js?deVersion=2018071198"></script>
</body>
</html>
